package com.ylw.entity.request;

import com.ylw.entity.Parameter;

import java.util.*;

public class RequestParameter extends Parameter {




    private boolean allowNull;//允许为空

    private Integer order;//排序，数字越小代表越前面

    public RequestParameter() {
    }




    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public boolean getAllowNull() {
        return allowNull;
    }

    public void setAllowNull(boolean allowNull) {
        this.allowNull = allowNull;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"allowNull\":").append(allowNull);
        sb.append(",\"order\":").append(order);
        sb.append('}');
        sb.append(super.toString());
        return sb.toString();
    }
}
